Skip to main content
PATCH
Update collection playbook

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Playbook fields to change

name
string

Name of the playbook.

Required string length: 1 - 200
segment_ids
string[]

IDs of the customer segments the playbook applies to. Empty when it only applies as the default playbook or by customer assignment.

Maximum array length: 50
priority
integer

Priority of the playbook. When several playbooks match a customer, the highest priority wins.

Required range: 0 <= x <= 10000
reminder_sequence_id
string | null

ID of the invoice reminder sequence linked to the playbook. Invoice reminders keep running from it.

triggers
object

Conditions that open a case on a customer. A case opens when one of the set conditions is met.

agent_mode
enum<string>

How the collection agent acts on the playbook's cases: off, suggest (a person approves each action) or automatic. Defaults to suggest on creation. A playbook without steps cannot be off.

Available options:
off,
suggest,
automatic
context
string | null

Context the agent reads on the playbook's cases.

Maximum string length: 10000
silence_checkpoint_days
integer

Days without an answer after the last email before the agent reviews the case.

Required range: 1 <= x <= 30
steps
object[]

Recovery steps run once a case is open, in order.

Maximum array length: 30
senders
object[]

Sender profiles the playbook's emails are sent as.

Maximum array length: 20
is_default
enum<boolean>

Set to true to make this playbook the default one. To change the default, set it on another playbook.

Available options:
true

Response

id
string
required

Collection playbook ID.

Example:

"cpb_2bHxVsTaFsPgMf"

name
string
required

Name of the playbook.

Example:

"Late invoices"

segment_ids
string[]
required

IDs of the customer segments the playbook applies to. Empty when it only applies as the default playbook or by customer assignment.

priority
integer
required

Priority of the playbook. When several playbooks match a customer, the highest priority wins.

reminder_sequence_id
string | null
required

ID of the invoice reminder sequence linked to the playbook. Invoice reminders keep running from it.

triggers
object
required

Conditions that open a case on a customer. A case opens when one of the set conditions is met.

agent_mode
enum<string>
required

How the collection agent acts on the playbook's cases: off, suggest (a person approves each action) or automatic. Defaults to suggest on creation. A playbook without steps cannot be off.

Available options:
off,
suggest,
automatic
context
string | null
required

Context the agent reads on the playbook's cases.

is_default
boolean
required

Whether the playbook is the default one, applied when no other playbook matches. Setting it moves the default to this playbook.

silence_checkpoint_days
integer
required

Days without an answer after the last email before the agent reviews the case.

steps
object[]
required

Recovery steps run once a case is open, in order.

senders
object[]
required

Sender profiles the playbook's emails are sent as.

open_cases_count
integer
required

Number of open cases running the playbook.

created_at
string<date-time>
required

Creation date.

Example:

"2024-12-20T16:04:11Z"

updated_at
string<date-time>
required

Last update date.

Example:

"2024-12-20T16:04:11Z"